<html>
	<head>
		<title></title>
		<style>
			#div1{
				width:200px;
				height:200px;
				background:red;
			}
		</style>
	</head>
	<body>
		<div id="div1">
			
		</div>
	</body>
	<script>
		window.onload = function (){
			document.getElementById("div1");
		}
	</script>
</html>